package com.zjhs.affluence.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zjhs.common.validator.DataLengh;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 品牌信息
 */
@Data
@EqualsAndHashCode()
@ApiModel(value="${ClassName}对象Dto", description=" ${table.comment}")
public class ${ClassName}Dto implements Serializable {

    private static final long serialVersionUID = 1L;

   <#list table.columns as column>
    <#if  column.columnName !="DELETED">
    /**
     * ${column.columnComment!""}
     */
    @ApiModelProperty(value = "${column.columnComment!""}")
    private ${column.columnType} ${column.columnName2};
    </#if>

    </#list>



}
